#include "DriverInfo.hpp"
#include <string.h>

DriverInfo::DriverInfo(void)
{
	memset((char *)&accountName[0], 0, sizeof(accountName)); 
	memset((char *)&mDriverName[0], 0, sizeof(mDriverName)); 
	memset((char *)&mDriverNumStr[0], 0, sizeof(mDriverNumStr)); 
	memset((char *)&mDriverTeam[0], 0, sizeof(mDriverTeam)); 
	memset((char *)&mCategoryName[0], 0, sizeof(mCategoryName)); 
	memset((char *)&mCategoryGroup[0], 0, sizeof(mCategoryGroup)); 
	memset((char *)&mClassName[0], 0, sizeof(mClassName)); 
	memset((char *)&mThreeLetterName[0], 0, sizeof(mThreeLetterName)); 

	mBestSector1 = -1;
	mBestSector2 = -1;
	mBestLapTime = -1;
	mSector1OfBestLap = -1;
	mSector2OfBestLap = -1;

	lastSpeedAtSpeedTrap = 0;
	speedAtSpeedTrap = 0;
	speedTrapCanBeDisplayed = false;

	isOffTrack = false;
	isSpinAround = false;
	totalDistance = 0;
	lapDistance = 0;
	lapCompleted =  0;
	memlapCompleted = 0;
	maxSpeed = 0;
	offsetNumPitStop = 0;
	lastMaxSpeed = 0;
	curMaxSpeed = 0;
	s1 = -1;
	s2 = -1;
	s3 = -1;

	x = 0;
	y = 0;
	z = 0;
}


DriverInfo::~DriverInfo(void)
{
}
